package com.eamois.service.manual.impl;

import java.util.Collection;

import com.eamois.dao.manual.ProcessDao;
import com.eamois.domain.manual.Catalog;
import com.eamois.domain.manual.ProcessEntity;
import com.eamois.domain.manual.Technology;
import com.eamois.service.impl.BaseServiceImpl;
import com.eamois.service.manual.ProcessService;

public class ProcessServiceImpl extends BaseServiceImpl<ProcessEntity, ProcessDao> implements ProcessService{

	@Override
	public Collection<ProcessEntity> findProcessByTechnology(Technology technology) {
		// TODO Auto-generated method stub
		return this.getDao().findProcessByTechnology(technology);
	}

	@Override
	public ProcessEntity findProcessByCode(String code) {
		// TODO Auto-generated method stub
		return this.getDao().findProcessByCode(code);
	}

	@Override
	public Collection<ProcessEntity> findProcessByBelongId(String id) {
		// TODO Auto-generated method stub
		return this.getDao().findProcessByBelongId(id);
	}

	@Override
	public ProcessEntity findProcessById(Integer id) {
		// TODO Auto-generated method stub
		return this.getDao().findProcessById(id);
	}

}
